package com.xiaomengkuan.plugin;

import com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.actuate.autoconfigure.jdbc.DataSourceHealthContributorAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.jdbc.JdbcRepositoriesAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.JdbcTemplateAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author Faraj Mujey
 * -- Creation Time: 2021-01-13 10:08 下午, File Encoding: utf8 --
 */
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class,
        MybatisPlusAutoConfiguration.class,
        JdbcRepositoriesAutoConfiguration.class,
        JdbcTemplateAutoConfiguration.class,
        DataSourceHealthContributorAutoConfiguration.class})
@EnableDiscoveryClient
@ComponentScan(basePackages = {"com.xiaomengkuan"})
public class PluginApplication {
    public static void main(String[] args) {
        SpringApplication.run(PluginApplication.class, args);
    }
}
